package cn.shiwei.order.domain;

import cn.shiwei.basic.domain.BaseDomain;
import lombok.Data;

import java.math.BigDecimal;
import java.util.List;

@Data
public class OrderDetail extends BaseDomain{
    private String name;
    private String cover;
    private BigDecimal price;
    private Integer total = 1;
    private Long produck_id;
    private String sn;
    private Long order_id;
    private Long shop_id;

    public OrderDetail() {
    }

    public OrderDetail(String name, String cover, BigDecimal price, Long produck_id, String sn, Long order_id, Long shop_id) {
        this.name = name;
        this.cover = cover;
        this.price = price;
        this.total = total;
        this.produck_id = produck_id;
        this.sn = sn;
        this.order_id = order_id;
        this.shop_id = shop_id;
    }

}
